<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" xmlns:th="http//www.thymeleaf.org">
    <title>Title</title>
    <link rel="StyleSheet" href="/css/jpetstore.css" type="text/css" />
</head>
<body>
<!--两种引入方式-->
<!--<div th:include></div>-->
    <div th:replace="/common/header"></div>
    <div id="Content">
        <div id="Catalog">
            <form action="/user/login" method="post">
                <p>Please enter your username and password</p>
                <p>
                    Username:<input type="text" name="name"><br>
                    Password:<input type="password" name="password">
                </p>
                <p th:text="${msg}"></p>
                <input type="submit" value="Login">
            </form>
            Need a username and password
            <a href="accountRegisterForm">Register Now</a>
        </div>
    </div>


    <div th:replace="/common/footer"></div>
</body>
</html>